Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 6 - Printing Resources / Printing Resources Reference
Constants and Data Types


The Customization Structure

The customization structure, of data type gxCustomizationRec, defines the format of the customization ('cust') resource.

struct gxCustomizationRec {
   short horizontalResolution;
   short verticalResolution;
   short upDriverType;
   Point patternStretch;
   short translatorSettings
};

typedef struct gxCustomizationRec gxCustomizationRec, 
*gxCustomizationPtr, **gxCustomizationHdl;
Field Description
horizontalResolution
The horizontal resolution to use for the device in dots per inch.
verticalResolution

The vertical resolution to use for the device in dots per inch.
upDriverType
The Macintosh Printing Manager interface driver with which your device is compatible. The values for this field are shown in Table 6-20 on page 6-48.
patternStretch
The scaling factor for printing bitmap patterns.
translatorSettings

Settings for translating Macintosh Printing Manager driver calls into messages for your driver. The values for this field are shown in Table 6-21 on page 6-48.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help